import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DictIntIntHelper } from "../Public/DictIntIntHelper";
type int = number;
//class SPlayerOlympicGuessInfo
    
    export  class SPlayerOlympicGuessInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SPlayerOlympicGuessInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            DictIntIntHelper.write(arg1, this.type1Result);
            DictIntIntHelper.write(arg1, this.myType1);
            arg1.writeInt(this.type3ResultInt);
            arg1.writeInt(this.myType3Int);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.type1Result = DictIntIntHelper.read(arg1);
            this.myType1 = DictIntIntHelper.read(arg1);
            this.type3ResultInt = arg1.readInt();
            this.myType3Int = arg1.readInt();
            return;
        }

        public /* const */_type: int=12381;

        public /* var */type1Result: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */myType1: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */type3ResultInt: int;

        public /* var */myType3Int: int;

        public static /* var */_regist: SPlayerOlympicGuessInfo;
    }

            SPlayerOlympicGuessInfo._regist = new SPlayerOlympicGuessInfo(true);
        